﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="MainNavigation.ascx.cs" Inherits="UserControls_MainNavigation" %>
<asp:Repeater ID="MainNavigation" runat="server">
	<HeaderTemplate>
		<ul class="nav nav-justified">
	</HeaderTemplate>
	<ItemTemplate>
		<li class='<%# GetItemClass(Container.ItemIndex) %> <%# Eval("CategoryID").ToString() == Request.QueryString["CategoryID"] ? "active" : "" %>'>
			<a href="<%# Link.ToCategory(Eval("CategoryID").ToString()) %>" title="<%# Eval("Name") %>">
				<%# Eval("Name") %>
			</a>
		</li>
	</ItemTemplate>
	<FooterTemplate>
		</ul>
	</FooterTemplate>
</asp:Repeater>